################################################
#
# BiscuitOS-PAGING-PageWalk-IOREMAP
#
################################################
PK_PAGING_PAGEWALK_IOREMAP_NAME        := BiscuitOS-PAGING-PageWalk-IOREMAP
PK_PAGING_PAGEWALK_IOREMAP_VERSION     := $(CONFIG_PK_PAGING_PAGEWALK_IOREMAP_VERSION)
PK_PAGING_PAGEWALK_IOREMAP_SITE        := $(CONFIG_PK_PAGING_PAGEWALK_IOREMAP_URL)
PK_PAGING_PAGEWALK_IOREMAP_GITHUB      := $(CONFIG_PK_PAGING_PAGEWALK_IOREMAP_GITHUB)
PK_PAGING_PAGEWALK_IOREMAP_SUBNAME     :=
PK_PAGING_PAGEWALK_IOREMAP_BUILDARCH   := $(CONFIG_PK_PAGING_PAGEWALK_IOREMAP_BUILDARCH)
PK_PAGING_PAGEWALK_IOREMAP_DIR         := $(srctree)/package/PAGING/BiscuitOS-PAGING-PageWalk-IOREMAP
PK_PAGING_PAGEWALK_IOREMAP_PATCH       := $(PK_PAGING_PAGEWALK_IOREMAP_DIR)/patch
PK_PAGING_PAGEWALK_IOREMAP_BSBIT       := BiscuitOS-PAGING-PageWalk-IOREMAP-$(PK_PAGING_PAGEWALK_IOREMAP_VERSION).bsbit
PK_PAGING_PAGEWALK_IOREMAP_OUT         :=
PK_PAGING_PAGEWALK_IOREMAP_SCRIPTS     := $(srctree)/scripts/package/package-kernel.sh
PK_PAGING_PAGEWALK_IOREMAP_TAR         := $(CONFIG_PK_PAGING_PAGEWALK_IOREMAP_TAR)
PK_PAGING_PAGEWALK_IOREMAP_PACKAGE     :=
PK_PAGING_PAGEWALK_IOREMAP_CONFIG      := $(CONFIG_PK_PAGING_PAGEWALK_IOREMAP_CONFIG)
SUB_TARGET                  += $(PK_PAGING_PAGEWALK_IOREMAP_DIR)/build

PK_PAGING_PAGEWALK_IOREMAP_sh = $(CONFIG_SHELL) $(PK_PAGING_PAGEWALK_IOREMAP_SCRIPTS) \
                 $1X \
                 $(PK_PAGING_PAGEWALK_IOREMAP_NAME)X \
                 $(PK_PAGING_PAGEWALK_IOREMAP_VERSION)X \
                 $(PK_PAGING_PAGEWALK_IOREMAP_SITE)X \
                 $(PK_PAGING_PAGEWALK_IOREMAP_GITHUB)X \
                 $(PK_PAGING_PAGEWALK_IOREMAP_PATCH)X \
                 $(CONFIG_LINUX_KERNEL_VERSION)X \
	         $(CONFIG_MAIN_PROJ_NAME)X \
                 $(PK_PAGING_PAGEWALK_IOREMAP_TAR)X \
                 $(CONFIG_LINUX_KERNEL_CROSS_COMPILE)X \
                 $(PK_PAGING_PAGEWALK_IOREMAP_SUBNAME)X \
                 $(CONFIG_PK_PAGING_PAGEWALK_IOREMAP_CONFIG)X \
                 $(CONFIG_PK_PAGING_PAGEWALK_IOREMAP_LIBPATH)X \
                 $(CONFIG_PK_PAGING_PAGEWALK_IOREMAP_CPPFLAGS)X \
                 $(CONFIG_PK_PAGING_PAGEWALK_IOREMAP_DPKCONFIG)X \
                 $(CONFIG_PK_PAGING_PAGEWALK_IOREMAP_CFLAGS)X \
                 $(CONFIG_PK_PAGING_PAGEWALK_IOREMAP_LDFLAGS)X \
                 $(CONFIG_PK_PAGING_PAGEWALK_IOREMAP_CXXFLAGS)X \
                 $(CONFIG_PK_PAGING_PAGEWALK_IOREMAP_ASFLAGS)X \
                 $(PK_PAGING_PAGEWALK_IOREMAP_BSBIT)X \
                 $(PK_PAGING_PAGEWALK_IOREMAP_BUILDARCH)X \
		 $(PK_PAGING_PAGEWALK_IOREMAP_CSRCFILE)X \
                 $(CONFIG_PK_PAGING_PAGEWALK_IOREMAP_SRCFILE)X \
                 $(CONFIG_PK_PAGING_PAGEWALK_IOREMAP_CSRCFILE)

$(PK_PAGING_PAGEWALK_IOREMAP_DIR)/build: FORCE
	$(Q)$(call PK_PAGING_PAGEWALK_IOREMAP_sh,$(srctree))
